package cleaner

import (
	"file-cleaner/internal/pkg/file_cleaner/file_info"
)

type CleanTaskInfo struct {
	sourceFileInfo *file_info.FileInfo
	targetFileInfo *file_info.FileInfo
}

func newCleanTaskInfo(src, target *file_info.FileInfo) *CleanTaskInfo {
	return &CleanTaskInfo{
		sourceFileInfo: src,
		targetFileInfo: target,
	}
}

func (i CleanTaskInfo) SourceFileInfo() *file_info.FileInfo {
	return i.sourceFileInfo
}

func (i CleanTaskInfo) TargetFileInfo() *file_info.FileInfo {
	return i.targetFileInfo
}
